package com.zmj.tl.database.taos.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

/**
 * @author hd
 * @desc 示例采集点
 * @since 2024/1/29 10:38
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class MeterMetric implements Serializable {
    private static final long serialVersionUID = -7537843869281857795L;
    /**
     * 时间
     */
    private Date ts;
    /**
     * 电流
     */
    private float current;
    /**
     * 电压
     */
    private int voltage;
    /**
     * 相续
     */
    private float phase;
    /**
     * 地点
     */
    private String location;
    /**
     * 组别
     */
    private int groupId;
    /**
     * 写入表名
     */
    private String stbName;
    /**
     * 批量
     */
    private List<MeterMetric> list = new LinkedList<>();
}
